package com.ky.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 投诉
 * </p>
 *
 * @author wgz
 * @since 2024-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Tousu implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 投诉id
     */
    @TableId(value = "tousu_id", type = IdType.AUTO)
    private Integer tousuId;
    private Integer userId;

    /**
     * 关联的文章ID
     */
    private Integer articleId;

    /**
     * 投诉类型;1不友善内容2色情低俗内容3政治敏感4欺诈骚扰6其他违法违规
     */
    @TableField("complaintType")
    private String complaintType;

    /**
     * 创建日期和时间
     */
    private Date createdAt;

    /**
     * 投诉内容
     */
    private String description;


}
